<?php /* Smarty version 2.6.18, created on 2016-12-12 18:53:27
         compiled from homework/m.homework.add.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--头部 end-->
<!--主体部分-->
<div class="container" style="margin-top:70px;">
    <div class="row" style="margin-top:10px;">
        <form  action="" method="post">
            <div class="col-xs-12 distance"   >
                <div class="form-group" style="padding-top:0px;">
                    <label for="inputEmail3" class="col-sm-2 control-label">班级:</label>
                    <div class="col-sm-10">
                        <?php $_from = $this->_tpl_vars['class_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                        <label class="choice" for="c<?php echo $this->_tpl_vars['value']['class_id']; ?>
"><input type="checkbox" name="class_id[]" value="<?php echo $this->_tpl_vars['value']['class_id']; ?>
" id="c<?php echo $this->_tpl_vars['value']['class_id']; ?>
"><?php echo $this->_tpl_vars['value']['class_name']; ?>
</label>
                        <!--<label><input type="radio"  value="<?php echo $this->_tpl_vars['value']['class_id']; ?>
" name="class_id"> <?php echo $this->_tpl_vars['value']['class_name']; ?>
</label>-->
                        <?php endforeach; endif; unset($_from); ?>
                    </div>
                </div>
            </div>
            <div class="col-xs-12 distance"   >
                <div class="form-group" style="padding-top:0px;">
                    <label for="" class="col-sm-2 control-label">学科名称:</label>
                    <div class="col-sm-10">
                        <select class="form-control" name="subject_id">
                            <option  >请选择学科</option>
                            <?php $_from = $this->_tpl_vars['subject_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                            <option value="<?php echo $this->_tpl_vars['value']['subject_id']; ?>
"><?php echo $this->_tpl_vars['value']['subject_name']; ?>
</option>
                            <?php endforeach; endif; unset($_from); ?>
                        </select>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="" class="col-sm-2  control-label">时间：</label>
                <div class="col-sm-10 ">
                    <input type="text" class="form-control"  id="start_time" name="homework_date" value="<?php echo $this->_tpl_vars['shop_data']['assign_time']; ?>
">
                </div>
            </div>
            <div class="col-xs-12 distance"   >
                <div class="form-group" style="padding-top:0px;">
                    <label for="" class="col-sm-2 control-label">作业内容:</label>
                    <div class="col-sm-10">
                        <textarea class="form-control" rows="3" name="homework_content"></textarea>
                    </div>
                </div>
            </div>
            <div class="row text-center" style="margin-top:15px;margin-left:1px; margin-right:1px;">
                <button type="submit" class="btn btn-success  absolutely">确定</button>
            </div>
        </form>
    </div>

</div>
<!--container  end-->
<!--主体部分  end-->
<!--底部-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!--container  end-->

    

<!--底部end-->
    <script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->
<script>
    $(function() {
        $( "#start_time" ).datepicker({
            defaultDate: "+1w",
            changeMonth: true,
            changeYear: true,
            numberOfMonths:1,

        });

    });
</script>
</body>
</html>